az-network Verified for current stable LTS

Az Network Command: Create A Virtual Network With Specified Address Prefix And Subnet

Use for Create a virtual network with specified address prefix and subnet with Az Network. Exact CLI syntax to Create a virtual network with specified address prefix and subnet using Az Network.

When to use this: Use for Create a virtual network with specified address prefix and subnet with Az Network.

Command Syntax

az network vnet create --address-prefixes <10.0.0.0/16> -n <vnet> -g <group_name> --subnet-name <subnet> --subnet-prefixes <10.0.0.0/24>

Command Breakdown

--address-prefixes
Command Option
Tool-specific option used by this command invocation.
-n
Command Option
Tool-specific option used by this command invocation.
-g
Command Option
Tool-specific option used by this command invocation.
--subnet-name
Command Option
Tool-specific option used by this command invocation.
--subnet-prefixes
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to Create a virtual network with specified address prefix and subnet using Az Network.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Az Network directory